package com.atguigu.springcloud.dao;

import com.atguigu.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author 懵懂的青春
 * @Date 2020/7/17 15:13
 * @Version 1.0
 * @Description
 **/
@Mapper
public interface PaymentDao {
     int create(@Param("payment") Payment payment);

     Payment getPaymentById(@Param("id") Long id);
}
